<template>
  <div class="content">
    <ul class="new-list">
      <li class="clearfix">
        <div class="new-txt">
          <div>春茶预售，百万现金优惠限时开始，最高立减299元</div>
          <div>
            <span>2018-04-22 12:22:27</span>
            <span class="ml15"><img  class="eye" src="./images/eye.svg">925</span>
          </div>
        </div>
        <div class="img-div">
          <img src="./images/goods.png" class="new-img">
        </div>
      </li>
      <li class="clearfix">
        <div class="new-txt">
          <div>春茶预售，百万现金优惠限时开始，最高立减299元</div>
          <div>
            <span>2018-04-22 12:22:27</span>
            <span class="ml15"><img  class="eye" src="./images/eye.svg">925</span>
          </div>
        </div>
        <div class="img-div">
          <img src="./images/goods.png" class="new-img">
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
  export default {
    components: {},
    data(){
      return {};
    },
    mounted(){

    },
    methods: {},
    filters: {}
  }
</script>


<style scoped>
  .content {
    text-align: left;
  }
  .new-list li {
    background: #fff;
    padding: .75rem;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  .img-div{
    float: right;
    width: 25%;
  }
  .new-img {
    width: 100%;
    height: 100%;
  }
  .new-txt{
    float: left;
    width: 75%;
  }
  .new-txt div:first-child {
    font-size: .8rem;
    color: #333;
    line-height: 1.4;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .new-txt div:last-child {
    font-size: .55rem;
    color: #999;
    margin-top: 1rem;
  }
  .ml15{
    margin-left: 1rem;
  }
  .eye{
    margin-right: .25rem;
  }

</style>
